﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Zoo.Cat.Domain.Entities.Polls;
using Zoo.Infrastructure;

namespace Zoo.Cat.Application.Polls {
    public interface  IPollService {
        Poll GetPollById(Guid pollId);

        IPagedList<Poll> GetPolls(int pageIndex, int pageSize);

        void DeletePoll(Poll poll);

        void CreatePoll(Poll poll);

        void UpdatePoll(Poll poll);


    }
}
